package yang.itcode.model.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.time.LocalDate;

@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
public class Cost extends BasePOJO {
    private Integer id;
    private Integer productId;
    private LocalDate date;
    private String operationType;
    private BigDecimal originalAvgCost;
    private BigDecimal adjustCost;
    private BigDecimal inventory;
    private BigDecimal currentAvgCost;
    private String note;
    private Integer relatedId;
}

